import request from '@/axios/axios.js'

// 查询所有
export const getWare = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataWarehouse/getAll',
        data: params
    })
}
//新增
export const addWare = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataWarehouse/save',
        data: params
    })
}


// 编辑
export const editWare = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataWarehouse/update',
        data: params
    })
}


// 删除
export const deleteWare = (params) => {
    return request({
        method: 'delete',
        url: '/api/basedataWarehouse/delete',
        data: params
    })
}

